<?
	include('header.php');
?>
		<div id="main">
			
<?
		$the_posts = get_the_posts(10, 0, "publish", "blog"); // Start the Loop
	
		foreach($the_posts as $the_post) {
?>
			<div class="post">
				<h2><a href="<? echo the_permalink(); ?>"><? echo the_title(); ?></a></h2>

				<p class="post_meta">By <? echo the_author("nice_name"); ?> on <? echo the_date(); ?></p>
				<p class="content"><? echo the_content(); ?></p>
				<p class="tag_meta"><strong>Tags:</strong> <? echo the_tags(); ?> | <strong>Comments:</strong> <? echo the_comment_count(); echo edit_link(" | ", ""); ?></p>
			</div>
<?
		}
?>

			<br class="clear" />

		</div>
		
		<div id="sidebar">

			<h3>Asides</h3>
			<? echo the_asides(1); ?>

			<h3>Recent Posts</h3>
			<? echo recent_posts(); ?>

			<h3>Top Tags</h3>
			<? echo tag_cloud(25); ?>
			
		</div>
<?
	include('footer.php');
?>